﻿using Data;
using Microsoft.Practices.Unity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Service.Impl
{
    public class AppInitializer : IAppInitializer
    {
        [Dependency]
        public IDataTierInitializer DBInit { get; set; }

        // private static string connectionStringTemp = @"Data Source=10.10.120.75\SQLEXPRESS,1433;Initial Catalog=ecofast;User Id=boris;Password=boris";

        public void InitDB(string connectionString)
        {
            DBInit.Init(connectionString);
        }
    }
}
